package com.xuzhiguang.baidu.pan.sdk.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.PropertyNamingStrategy;
import com.fasterxml.jackson.databind.annotation.JsonNaming;

/**
 * @author xuzhiguang
 * @date 2020/6/26 12:56
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonNaming(PropertyNamingStrategy.SnakeCaseStrategy.class)
@JsonIgnoreProperties(ignoreUnknown = true)
public class BasicUserInfoResult extends BaiduPanCommonResult {

    /**
     * 百度账号
     */
    private String baiduName;

    /**
     * 网盘账号
     */
    private String netdiskName;

    /**
     * 头像地址
     */
    private String avatarUrl;

    /**
     * 会员类型，0普通用户、1普通会员、2超级会员
     */
    private Integer vipType;

    /**
     * 用户ID
     */
    private Integer uk;

    @Override
    public String toString() {
        return "BasicUserInfoResult{" +
                "super=" + super.toString() + '\''+
                ", baiduName='" + baiduName + '\'' +
                ", netdiskName='" + netdiskName + '\'' +
                ", avatarUrl='" + avatarUrl + '\'' +
                ", vipType=" + vipType +
                ", uk=" + uk +
                '}';
    }

    public String getBaiduName() {
        return baiduName;
    }

    public void setBaiduName(String baiduName) {
        this.baiduName = baiduName;
    }

    public String getNetdiskName() {
        return netdiskName;
    }

    public void setNetdiskName(String netdiskName) {
        this.netdiskName = netdiskName;
    }

    public String getAvatarUrl() {
        return avatarUrl;
    }

    public void setAvatarUrl(String avatarUrl) {
        this.avatarUrl = avatarUrl;
    }

    public Integer getVipType() {
        return vipType;
    }

    public void setVipType(Integer vipType) {
        this.vipType = vipType;
    }

    public Integer getUk() {
        return uk;
    }

    public void setUk(Integer uk) {
        this.uk = uk;
    }
}
